using System;

namespace Utils.Lib.LitJson
{
    internal struct ArrayMetadata
    {
        private Type element_type;

        public Type ElementType
        {
            get
            {
                if (element_type == null)
                    return typeof (JsonData);

                return element_type;
            }

            set { element_type = value; }
        }

        public bool IsArray { get; set; }
        public bool IsList { get; set; }
    }
}